<template>
  <div class="code-block-body">
    <slot></slot>
  </div>
</template>

<script>
export default {
  name: "code-block",
  components: {},
  data() {
    return {};
  },
  computed: {},
  watch: {},
  methods: {},
  created() {},
};
</script>
<style lang='less' scoped>
// 代码
.code-block-body {
  padding: 10px;
  font-size: 17px;
  background-color: #eeeeee;
  text-align: left;
}
</style>